<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
  <meta charset="UTF-8">
  <title>作品详情</title>
  <link rel="stylesheet" href="/static/admin/css/common.css" media="all"/>
  <link rel="stylesheet" href="/static/common/layui/css/layui.css" media="all"/>
  <style>
  .layui-input-inline{
    padding: 9px;
  }
  .layui-form-label{
    width: 100px;
  }
  </style>
</head>
<body>
<th:block layout:fragment="script">
  <script type="text/html" id="content">
    <div class="layui-collapse">
      <div class="layui-colla-item">
        <h2 class="layui-colla-title">作品信息</h2>
        <div class="layui-colla-content layui-show">
          <div class="layui-form">

            <div class="layui-row">
              <div class="layui-col-md4">
                <img src="{{d.imageUrl}}" style="width: 240px;">
              </div>

              <div class="layui-col-md8">
                <div class="layui-btn-container">
                  {{# if(d.certFileName){ }}
                  <a class="layui-btn layui-btn-normal" href="http://meisudci.oss-cn-beijing.aliyuncs.com/certificate/{{d.certFileName}}" target="_blank">查看证书 </a>
                  {{# } }}
                  {{# if(d.imageName){ }}
                  <a class="layui-btn layui-btn-normal" href="{{d.imageName}}" target="_blank">查看大图 </a>
                  {{# } }}
                  {{# if(d.epsImageName){ }}
                  <a class="layui-btn layui-btn-normal" href="{{d.epsImageName}}" target="_blank">查看矢量图 </a>
                  {{# } }}
                  {{# if(d.authCertFileUrl){ }}
                  <a class="layui-btn layui-btn-normal" href="{{d.authCertFileUrl}}" target="_blank">查看授权书 </a>
                  {{# } }}
                </div>
              </div>
            </div>
          </div>
        </div>
          </div>
        </div>
      </div>
      <div class="layui-colla-item">
        <h2 class="layui-colla-title">创作信息</h2>
        <div class="layui-colla-content layui-show">
          <div class="layui-form">
            <div class="layui-form-item">
              <div class="layui-inline">
                <label class="layui-form-label">著作权人：</label>
                <div class="layui-input-inline">{{d.author}}
                </div>
              </div>
              <div class="layui-inline">
                <label class="layui-form-label">作品性质：</label>
                <div class="layui-input-inline">原创
                </div>
              </div>
              <div class="layui-inline">
                <label class="layui-form-label">作品类型：</label>
                <div class="layui-input-inline">
                  {{d.worksTypeName}}
                </div>
              </div>
            </div>
            <div class="layui-form-item">
              <div class="layui-inline">
                <label class="layui-form-label">作品名称：</label>
                <div class="layui-input-inline">
                  {{d.worksFullName}}
                </div>
              </div>
              <div class="layui-inline">
                <label class="layui-form-label">完成日期：</label>
                <div class="layui-input-inline">
                  {{d.creationDate}}
                </div>
              </div>
              <div class="layui-inline">
                <label class="layui-form-label">创作地点：</label>
                <div class="layui-input-inline">
                  {{d.creationCountry}}{{d.creationProvince}}{{d.creationCity}}
                </div>
              </div>
            </div>
            <div class="layui-form-item">
              <div class="layui-inline">
                <label class="layui-form-label">是否发表：</label>
                <div class="layui-input-inline">
                  {{d.publishStatusName}}
                </div>
              </div>
              <div class="layui-inline">
                <label class="layui-form-label">首次发表日期：</label>
                <div class="layui-input-inline">
                  {{d.firstPublishDate}}
                </div>
              </div>
              <div class="layui-inline">
                <label class="layui-form-label">发表地点：</label>
                <div class="layui-input-inline">
                  {{d.firstPublishCountry}}{{d.firstPublishProvince}}{{d.firstPublishCity}}
                </div>
              </div>
            </div>
            <div class="layui-form-item">
              <div class="layui-inline">
                <label class="layui-form-label">创作说明：</label>
                <div class="layui-input-inline">
                  {{d.mainFeatures}}
                </div>
              </div>
              <div class="layui-inline">
                <label class="layui-form-label">手机号码：</label>
                <div class="layui-input-inline">
                  {{d.mobile}}
                </div>
              </div>
            </div>

        </div>
      </div>
      <div class="layui-colla-item">
        <h2 class="layui-colla-title">交易信息</h2>
        <div class="layui-colla-content layui-show">

          <div class="layui-form-item">
            <div class="layui-inline">
              <label class="layui-form-label">内容分类：</label>
              <div class="layui-input-inline">
                {{d.workCategroyName}}
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">授权信息：</label>
              <div class="layui-input-inline">
                {{d.authorizeRuleDesc}}
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">价格：</label>
              <div class="layui-input-inline">
                {{d.price}}
              </div>
            </div>
          </div>
          <div class="layui-form-item">
            <div class="layui-inline">
              <label class="layui-form-label">关键词：</label>
              <div class="layui-input-inline">
                {{d.keywords}}
              </div>
            </div>
          </div>
        </div>
      </div>

    </div>

    {{#  if(d.worksProcessDetail == 'commited'){ }}
    <div class="layui-form-item layui-form-text">
      <label class="layui-form-label">拒绝原因：</label>
      <div class="layui-input-block" style="margin-left: 140px;width: 900px;">
        <textarea id="refuseDesc" name="refuseDesc" class="layui-textarea">{{d.failReason}}</textarea>
      </div>
    </div>
    <div class="layui-btn-container" style="margin-top: 15px;margin-left: auto;margin-right: auto;width: 150px;">
      <a class="layui-btn pass-btn">通过</a>
      <a class="layui-btn  layui-btn-danger refuse-btn">拒绝</a>
    </div>
    {{#  }else{ }}
    <div class="layui-form-item layui-form-text">
      <label class="layui-form-label">拒绝原因：</label>
      <div class="layui-input-block" style="margin-left: 140px;width: 900px;">
        {{d.failReason}}
      </div>
    </div>
    {{# } }}
  </script>
  <script type="text/javascript" src="/static/common/js/util.js"></script>
  <script src="/static/common/layui/layui.js" charset="utf-8"></script>
  <script src="/static/admin/js/config.js"></script>
  <script type="text/javascript">
    layui.use('worksdetail');
  </script>
</th:block>
</body>
</html>